<?php
	class Default_Model_Category extends Zend_Db_Table_Abstract{
		 protected $_name = 'category';
    	 protected $_primary = 'id';
    	 
    	 public function getAll(){
    	 	$select = $this->select()
    	 				->where("status = 1 and isDelete = 0");
    	 	$result= $this->fetchAll($select);
    	 	return $result->toArray();
    	 	
    	 }
	}

?>